<html>
<body>
Reports <code>.size()</code> or <code>.length()</code>
comparisons with a <code>0</code> literal that can be replaced with a call to <code>.isEmpty()</code>.
<p><b>Example:</b></p>
<pre><code>
  boolean emptyList = list.size() == 0;
</code></pre>
<p>After the quick-fix is applied:</p>
<pre><code>
  boolean emptyList = list.isEmpty();
  </code></pre>
<!-- tooltip end -->
<p>
  Use the <b>Ignored classes</b> table to add classes for which any <code>.size()</code> or <code>.length()</code> comparisons should not be replaced.
</p>
<p>Use the <b>Ignore expressions which would be replaced with <code>!isEmpty()</code></b> option to ignore any expressions which would be replaced with <code>!isEmpty()</code>.
</p>
</body>
</html>